﻿using SqlSugar;
using System;
using System.Runtime.Remoting.Channels;

namespace Raffles.OA.Data
{
    /// <summary>
    /// 日 期：2024/7/16 14:08:07
    /// 描 述：渠道经理实体类
    /// </summary>
    [SugarTable("Base_ChannelManager")]
    public partial class ChannelManagerEntity : BaseEntity
    {
        /// <summary>
        /// 渠道Id
        /// </summary>
        public int? ChannelId { get; set; }
        /// <summary>
        /// 渠道经理
        /// </summary>
        public string MangerName { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string MangerPhone { get; set; }
        /// <summary>
        /// 备注说明
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedOn { get; set; } = DateTime.Now;
        /// <summary>
        /// 创建人
        /// </summary>
        public int? CreatedBy { get; set; }
        /// <summary>
        /// 编辑时间
        /// </summary>
        public DateTime? UpdatedOn { get; set; } = DateTime.Now;
        /// <summary>
        /// 编辑人
        /// </summary>
        public int? UpdatedBy { get; set; }
    } 

    public partial class ChannelManagerEntity
    {
        [Navigate(NavigateType.OneToOne, nameof(ChannelId))]
        public ChannelEntity Channel { get; set; }
    }

}
